import { createFilterData, createTableOptions } from "@framework/models/TableOptions";
import { Component, Vue, Ref, Model, Prop } from "@some21/vue-class-decorator";

@Component
export default class DialogRefMixins extends Vue {
  @Ref("content")
  $Content: any;

  filter = createFilterData();
  tblOptions = createTableOptions();

  checkRows = [];
  selectRow = null;

  @Model("change", { type: Object, default: {} })
  value: string[];
  @Prop({ type: Boolean, default: false })
  multiple: boolean;

  options: any[];

  DialogSelected = {
    show: false,
  };
  showSelectedDialog() {
    this.DialogSelected.show = true;
  }
}
